package com.autumn.platform.dao.schema.function.impl;

import java.util.ArrayList;
import java.util.Collection;
import java.util.List;

import com.autumn.platform.dao.schema.function.ISqlConfigFunction;
import com.autumn.platform.dao.schema.function.ISqlConfigFunctionFactory;

public class BaseSqlConfigFunctionFactory implements ISqlConfigFunctionFactory {

    @Override
    public Collection<ISqlConfigFunction> getSqlConfigFunctions() {
        List<ISqlConfigFunction> functions = new ArrayList<ISqlConfigFunction>();
        functions.add(new ConcatSqlConfigFunction());
        functions.add(new DecodeSqlConfigFunction());
        functions.addAll(new LikeSqlConfigFunctionFactory().getSqlConfigFunctions());
        return functions;
    }
}
